import type { AuxiliaryInputRepairRecordParams } from '@/types'

export const defaultFormData: AuxiliaryInputRepairRecordParams
  = {
    timeType: 1,
    tagCode: '',
    dataTime: '',
    xval: 0,
  }

export const formRules
  = generateCurrencyFormRules(defaultFormData)

export const defaultQuery = {
  timeType: 1,
  pointId: null as any,
}

export const CYCLE = [
  {
    key: 1,
    label: '小时',
  },
  {
    key: 2,
    label: '日',
  },
  {
    key: 3,
    label: '月',
  },
]
